package com.zareal.ymcc.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
//verrify-code:
//        constants:
@ConfigurationProperties("verrify-code.constants")
@Component
@Data
public class SmsRegisterProperties {
//    interval: 60000 #重新点击短信验证码时间
//    timeout: 300000 #短信在redis存在的时间
//    codelength: 6 #短信长度
//    smsmessage: "你的验证码为：%s" #短信验证码
//    smstitle: "短信验证码" # 短信验证码标题
    private Long interval;
    private Long timeout;
    private Integer codelength;
    private String smsmessage;
    private String smstitle;
}
